<!--
 * @Author: wangjh wangjiahui0710@163.com
 * @Date: 2024-06-18 10:06:27
 * @LastEditors: wangjh wangjiahui0710@163.com
 * @LastEditTime: 2024-06-19 15:23:26
 * @FilePath: \cip-admin\src\pages\park\dual-prevention\risk-management-and-control-list\components\handler.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<script lang="ts" setup>
import { injectState } from "../state";

defineOptions({ name: "Headler" });

const { selectedList, tableRef, detailDialogRef } = injectState()!;
</script>

<template>
	<div flex="~ justify-between">
		<div flex="~">
			<!-- <el-button type="primary" @click="detailDialogRef?.trigger('write')">
        <template #icon>
          <el-icon class="i-custom:add" />
        </template>
        新建
      </el-button>

      <el-button
        :disabled="selectedList.length === 0"
        @click="tableRef?.exportTable('文件', selectedList)"
      >
        <template #icon>
          <el-icon class="i-material-symbols:file-save-outline-rounded" />
        </template>
        导出
      </el-button> -->
		</div>
	</div>
</template>
